package eirkdbd.lab1.gui.tab;

import javax.swing.BoxLayout;

public abstract class SimpleTab extends AbstractTab {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9000L;
	
	@Override
	protected final void init() {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		initMainPane();
		initButtonPane();
		
	}
	
	/**
	 * Initializes button pane.
	 */
	protected abstract void initButtonPane();
	
	/**
	 * Initializes main pane.
	 */
	protected abstract void initMainPane();
}